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
Visual Basic (Declaration) | |
---|
Public Property ForceSize As Boolean |
C# | |
---|
public bool ForceSize {get; set;} |
Managed Extensions for C++ | |
---|
public: __property bool get_ForceSize();
public: __property void set_ForceSize(
bool value
); |
Return 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.
Example
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also