←Select platform

Format Property

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
public RasterImageFormat Format { get; set; } 
Public Property Format As RasterImageFormat 
@property (nonatomic, assign) LTRasterImageFormat format 
public RasterImageFormat getFormat() 
public void setFormat(RasterImageFormat value) 
public: 
property RasterImageFormat Format { 
   RasterImageFormat get(); 
   void set (    RasterImageFormat ); 
} 

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.

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 guaranteed to contain accurate information only if the value of IsLeadPdf is true.

Example

For an example, refer to CodecsRasterPdfInfo.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly