Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

ForceSize Property








Gets or sets a value which indicates whether the generated thumbnail should be forced to the requested size, even if MaintainAspectRatio is set to true.
Syntax
public bool ForceSize {get; set;}
'Declaration
 
Public Property ForceSize As Boolean
'Usage
 
Dim instance As CodecsThumbnailOptions
Dim value As Boolean
 
instance.ForceSize = value
 
value = instance.ForceSize
public bool ForceSize {get; set;}
@property (nonatomic, assign) BOOL forceSize
public boolean getForceSize()
public void setForceSize(boolean value)
            
 <br/>get_ForceSize();<br/>set_ForceSize(value);<br/>Object.defineProperty('ForceSize'); 
public:
property bool ForceSize {
   bool get();
   void set (    bool value);
}

Property Value

true to indicate that the thumbnail image will be generated by creating a "canvas" image with the requested size, and then centering the actual image inside that image. Note this is a slower process.
Remarks
This parameter is ignored if MaintainAspectRatio is false.
Example
For an example, refer to RasterCodecs.ReadThumbnail.
Requirements

Target Platforms

See Also

Reference

CodecsThumbnailOptions Structure
CodecsThumbnailOptions Members

Error processing SSI file