Visual Basic (Declaration) | |
---|---|
Public Property ForceSize As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool ForceSize {get; set;} |
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.For an example, refer to RasterCodecs.ReadThumbnail.
This parameter is ignored if MaintainAspectRatio is false.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family