LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

IsVectorFile Property






Gets a value indicating whether the image file or stream is a vector image format. .NET support
Syntax
public bool IsVectorFile {get;}
'Declaration
 
Public ReadOnly Property IsVectorFile As Boolean
'Usage
 
Dim instance As CodecsVectorImageInfo
Dim value As Boolean
 
value = instance.IsVectorFile
public bool IsVectorFile {get;}
 get_IsVectorFile(); 
public:
property bool IsVectorFile {
   bool get();
}

Property Value

true if the image file or stream is a vector image format, false; otherwise.
Remarks

When the value of IsVectorFile is true, then the image file or stream passed to the RasterCodecs.GetInformation or RasterCodecs.GetInformationAsync is a vector image file such as DXF or DWG. The rest of the members of this class are valid and contain the original document logical size. The physical load (rasterization size) is calculated based on the current rasterization values and is stored in CodecsImageInfo.Width, CodecsImageInfo.Height, CodecsImageInfo.XResolution and CodecsImageInfo.YResolution. For more information, refer to CodecsVectorLoadOptions.

If the value of IsVectorFile is false, then the image file or stream is a raster image such as JPEG or TIFF. These files have physical size and the rest of the values of this class should not be used.

Example
For an example, refer to CodecsVectorLoadOptions.
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

Reference

CodecsVectorImageInfo Class
CodecsVectorImageInfo Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.