AVEVA CAF API Documenation

SizePreferred Property
Gets or sets the preferred size of the cursor to be loaded.
Syntax
[Category("Cursor Sizing")]
[Description("The preferred size of the cursor.

If this property is set to (0,0) and the SizeDefault property is set to 'true' then default system metric size for cursors is used.  If this property is set to (0,0) and the SizeDefault property is set to 'false' then the actual size of the cursor is used (if the cursor contains multiple sizes then the first is used).")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[RefreshProperties(RefreshProperties.All)]
[DefaultValue(System.Drawing.Size, "0,0")]
public Size SizePreferred {get; set;}
[Category("Cursor Sizing")]
[Description("The preferred size of the cursor.

If this property is set to (0,0) and the SizeDefault property is set to 'true' then default system metric size for cursors is used.  If this property is set to (0,0) and the SizeDefault property is set to 'false' then the actual size of the cursor is used (if the cursor contains multiple sizes then the first is used).")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[RefreshProperties(RefreshProperties.All)]
[DefaultValue(System.Drawing.Size, "0,0")]
public:
property Size SizePreferred {
   Size get();
   void set (    Size value);
}

Property Value

The size preferred.
Exceptions
ExceptionDescription
Thrown when an exception error condition occurs.
Requirements

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

See Also