STK Graphics PrimitivesSend comments on this topic.
Padding Property (IAgStkGraphicsScreenOverlayManager)
See Also
Windows





Windows & Linux

Description

Gets or sets the padding surrounding the Overlays that are contained within this manager. The array contains the components of the padding arranged in the order left, top, right, bottom.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Padding() As System.Array
[C#]
public System.Array Padding {get; set;}
[Managed C++]
public: __property System::Array get_Padding();
public: __property void set_Padding( System::Array );
[Unmanaged C++]
public: HRESULT get_Padding(
    SAFEARRAY * * ppRetVal
);
public: HRESULT put_Padding(
    SAFEARRAY * Padding
);
[Java]
public AgSafeArray getPadding();
public void setPadding(
    AgSafeArray
);
[Python - STK API ]
@property
def Padding(self) -> list:

@Padding.setter
def Padding(self, Padding:list) -> None:

See Also

Example

Shows the format of the screen overlay manager's Padding property.
[C#]
Array padding = new object[]
{
    10,
    10,
    10,
    10
};

sceneManager.ScreenOverlays.Padding = padding;
Shows the format of the screen overlay manager's Padding property.
[Visual Basic .NET]
Dim padding As Array = New Object() {10, 10, 10, 10}

sceneManager.ScreenOverlays.Padding = padding
© 2024 Analytical Graphics, Inc. All Rights Reserved.