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



Enables or disables the cropping of PostScript (PS) and Encapsulated PostScript (EPS) files.

Syntax

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

Property Value

true to disable cropping of PostScript (PS) and Encapsulated PostScript (EPS) files, false otherwise.

Example

For an example, refer to CodecsPdfOptions.

Remarks

The PDF codecs is also used to load PostScript (PS) and Encapsulated PostScript (EPS) files. Use this option to enable/disable cropping the result raster image size to the dimensions of the actual drawing inside the PostScript file. This option is not used when loading PDF files.

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