Class Markup
Represents a text and pointer markup displayed in the 3D graphics.
Inherited Members
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
sistent("Markup")]
public class Markup : ProjectObject, IGfxObject, IHasTransform, IAttachableChild
Constructors
Markup()
Creates a new Markup
Declaration
public Markup()
Properties
BackgroundColor
Gets or sets the background color of the markup.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
FontSize
Gets or sets the font size (in pixels) of the markup text.
Declaration
public float FontSize { get; set; }
Property Value
Type | Description |
---|---|
Single |
Image
Gets or sets an image that is displayed in the markup
Declaration
public Bitmap Image { get; set; }
Property Value
Type | Description |
---|---|
Bitmap |
Text
Gets or sets the text of the markup
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
String |
TextColor
Gets or sets the color of the markup text.
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Topmost
Gets or sets a value indicating that the markup will not be obscured by other objects.
Declaration
public bool Topmost { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Transform
Gets the Transform of the object.
Declaration
public virtual Transform Transform { get; }
Property Value
Type | Description |
---|---|
Transform |
Visible
Gets or sets a value indicating whether the markup will be visible in the graphics.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
AfterLoad(PimDocument)
Declaration
protected override void AfterLoad(PimDocument doc)
Parameters
Type | Name | Description |
---|---|---|
RobotStudio.API.Persistence.PimDocument | doc |
Overrides
BeforeSave(PimDocument)
Declaration
protected override void BeforeSave(PimDocument doc)
Parameters
Type | Name | Description |
---|---|---|
RobotStudio.API.Persistence.PimDocument | doc |
Overrides
OnUndoRedo()
Declaration
protected override void OnUndoRedo()