Visual Basic (Declaration) | |
---|---|
Public Property ForceSize As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool ForceSize {get; set;} |
Return Value
true if generated thumbnail should be forced to the requested size; otherwise, false.For an example, refer to RasterCodecs.ReadThumbnail.
If ForceSize is true, 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. This parameter is ignored if
MaintainAspectRatio is false.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6