LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Format Property
See Also 
Leadtools.Codecs Namespace > CodecsRasterPdfInfo Structure : Format Property



Gets or sets the format (compression) type of the raster PDF page.

Syntax

Visual Basic (Declaration) 
Public Property Format As RasterImageFormat
Visual Basic (Usage)Copy Code
Dim instance As CodecsRasterPdfInfo
Dim value As RasterImageFormat
 
instance.Format = value
 
value = instance.Format
C# 
public RasterImageFormat Format {get; set;}
C++/CLI 
public:
property RasterImageFormat Format {
   RasterImageFormat get();
   void set (    RasterImageFormat value);
}

Property Value

One of RasterImageFormat.RasPdfXyz that indicates the format (compression) type of the raster PDF page. If the source file is not a raster PDF, the value of this property will be RasterImageFormat.Unknown.

Example

For an example, refer to CodecsRasterPdfInfo.

Remarks

This is the same value used as the format parameter value to the RasterCodecs.Save method used to create this file.

This property is guarranteed to contain accurate information only if the value of IsLeadPdf is true.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also