A proxy holding all required information about a certain type of Document object.
Constructors
ObjectProxy
#Constructor for derived types. Why are you deriving from this class if you're not Thibault Schwartz?
Properties
Obsolete
Gets whether this proxy represents an obsolete (or otherwise hidden) object.
Methods
Draw
#Try and render a preview of the object to a bitmap.
Draw
#Try and render a preview of an existing object to a bitmap.
Parameters:
| obj (IDocumentObject) | Object to draw. |
| scale (float = 1) | Zoom level for preview. |
| padding (int = 10) | Padding. Again, this is a suggestion and not guaranteed to be obeyed. |
| skin (Skin = null) | Skin to lay out and draw with; null means the current skin. |
Returns: Preview of object or null.
Parameters:
| initCode (string = null) | If provided, this initialisation string will be passed to the object. Not all objects support init codes, but if it doesn't, and you supply one anyway, the code will just be ignored. |
ExtractIconFromInstance
#Parameters:
| instance (IDocumentObject) |
Overrides: GeneralProxy<T>.ExtractIconFromInstance