LEADTOOLS Image File Support (Leadtools.Codecs assembly)

ForceSize Property

Show in webframe







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)
            
 
get_ForceSize();
set_ForceSize(value);
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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.