Northwoods.Go Assembly > Northwoods.Go Namespace > GoView Class > GetBitmapFromCollection Method : GetBitmapFromCollection(IGoCollection,RectangleF,Single,Boolean) Method |
'Declaration Public Overloads Overridable Function GetBitmapFromCollection( _ ByVal coll As IGoCollection, _ ByVal bounds As RectangleF, _ ByVal scale As Single, _ ByVal paper As Boolean _ ) As Bitmap
public virtual Bitmap GetBitmapFromCollection( IGoCollection coll, RectangleF bounds, float scale, bool paper )
Bitmap
Bitmap
whose size is determined by bounds multiplied by the scale (minimum 1x1), that displays what is painted starting at the rectangle's top-left position in the document. It calls PaintPaperColor to fill in the bitmap and then calls Paint for each object in coll whose CanView property is true.
Unlike the other GetBitmapFromCollection(IGoCollection) methods, this method does not automatically limit the size of the Bitmap based on the bounds and scale values.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2