Gets a value indicating whether the image file or stream is a document format.
public bool IsDocumentFile { get; }
Public ReadOnly Property IsDocumentFile As Boolean
public bool IsDocumentFile {get;}
@property (nonatomic, assign, readonly) BOOL isDocumentFile
public boolean isDocumentFile()
get_IsDocumentFile();
public:
property bool IsDocumentFile {
bool get();
}
true if the image file or stream is a document format, false; otherwise.
When the value of IsDocumentFile is true, then the image file or stream passed to the RasterCodecs.GetInformation or RasterCodecs.GetInformationAsync is a document file such as PDF or XPS. 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 CodecsRasterizeDocumentLoadOptions.
If the value of IsDocumentFile 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.
For an example, refer to CodecsDocumentImageInfo.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET