IWxBoxArrow.ArrowHeightOffset

Syntax

ArrowHeightOffset: Double;

ArrowHeightOffset: double;

Description

The ArrowHeightOffset property determines offset of arrow height.

Example

Executing the example requires that repository contains a workspace with the WSP identifier containing only arrow callout.

Add links to the Andy, Drawing, Metabase system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    ws: IWxWorkspace;
    BArrow: IWxBoxArrow;
    Shapes: IWxShapes;
Begin
    
// Get workspace for editing
    mb := MetabaseClass.Active;
    ws := mb.ItemById(
"WSP").Edit As IWxWorkspace;
    Shapes := ws.Shapes;
    BArrow := ws.Shapes.Item(
0As IWxBoxArrow;
    BArrow.ArrowHeightOffset := 
3;
    BArrow.ArrowWidthOffset := 
20;
    (ws 
As IMetabaseObject).Save;
End Sub UserProc;
Imports Prognoz.Platform.Interop.Andy;
Imports Prognoz.Platform.Interop.Drawing;

 
Public Shared Sub Main(Params: StartParams);
Var
    mb: IMetabase;
    ws: IWxWorkspace;
    BArrow: IWxBoxArrow;
    Shapes: IWxShapes;
Begin
    
// Get workspace for editing
    mb := Params.Metabase;
    ws := mb.ItemById[
"WSP"].Edit() As IWxWorkspace;
    Shapes := ws.Shapes;
    BArrow := ws.Shapes.Item[
0As IWxBoxArrow;
    BArrow.ArrowHeightOffset := 
3;
    BArrow.ArrowWidthOffset := 
20;
    (ws 
As IMetabaseObject).Save();
End Sub;

After executing the example arrow height and length are changed.

See also:

IWxBoxArrow