ImageMan.Net Version 3 Summer 2012 Release
LoadOverlay Method
See Also  Send Feedback
DTI.ImageMan Namespace > MarkOverlay Class : LoadOverlay Method





overlayFilename

Glossary Item Box

Loads the Overlaying Image From File

Syntax

Visual Basic (Declaration) 
Public Overridable Function LoadOverlay( _
   ByVal overlayFilename As System.String _
) As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As MarkOverlay
Dim overlayFilename As System.String
Dim value As System.Boolean
 
value = instance.LoadOverlay(overlayFilename)
C# 
public virtual System.bool LoadOverlay( 
   System.string overlayFilename
)
JScript 
public function LoadOverlay( 
   overlayFilename : System.String
) : System.boolean;
Managed Extensions for C++ 
public: virtual System.bool LoadOverlay( 
   System.string* overlayFilename
) 
C++/CLI 
public:
virtual System.bool LoadOverlay( 
   System.String^ overlayFilename
) 

Parameters

overlayFilename

Remarks

Will set the OverlayImage Property if the image is a valid image file and return true. If the Image is a gif image the TransparentPaletteIndex will be set if the gif decoder reports that the image has FrameUseTransparency to true. If the Image is a png the transparency information will be recorded. If the Image is 16 or 32 bit then the ApplyAlphaMask will be set to true. If the Image is monochrome then white will be set as the default transparent color.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.