GdPicture.NET.14
GdPicture14 Namespace / ThumbnailEx Class / ThumbnailSpacing Property





In This Topic
ThumbnailSpacing Property (ThumbnailEx)
In This Topic
Sets the spacing between each thumbnail in the control. Set a size of (0, 0) to apply automatic spacing, otherwise a size larger than ThumbnailSize is suggested. Default value is (0, 0).
Syntax
'Declaration
 
Public Property ThumbnailSpacing As Size
public Size ThumbnailSpacing {get; set;}
public read-write property ThumbnailSpacing: Size; 
public function get,set ThumbnailSpacing : Size
public: __property Size get_ThumbnailSpacing();
public: __property void set_ThumbnailSpacing( 
   Size value
);
public:
property Size ThumbnailSpacing {
   Size get();
   void set (    Size value);
}
Remarks
For COM version: this property might not be reachable within some environments, in this case use the SetItemsSpacing method instead. Values for are relative to the upper-left corner of an icon bitmap. Therefore, to set spacing between items that do not overlap, the values must include the size of the icon, plus the amount of empty space desired between icons. Values that do not include the width of the icon will result in overlaps.
See Also