SetFreeTextProperty

Example

Purpose: Set the properties of a freeform text item.

Return: none

Argument  

Type

Required

Purpose

1

Integer

Yes

Text block index, 1 based

2

Integer

Yes

Property

Property

Argument 3

"Angle"

int, possible values: 0 (0 degrees), 1 (90 degrees), or 2 (-90 degrees) .

"XPos"

double xpos in inches

"YPos"

double ypos in inches

"Page"

int page number (1 based)

"Border"

int (0-no border, 1-border)

"Transparent"

int (0-not transparent, 1-transparent)

"Shadow"

int (0=no shadow, 1=shadow)

"BackGroundColor"

see About Color numbering and RGB Color

"ShadowColor"

see About Color numbering and RGB Color

"BackgroundColorTarget"

see About Color numbering and RGB Color

"FadeType"

int 0 to 6 (See fade types)

"TextColor"

see About Color numbering and RGB Color

"TextHeight"

int 3 to 72

"UnderLine"

int 0 or 1

"Bold"

int 0 or 1

"Italic"

int 0 or 1

"TextAlign"

arg 3 is int 0 (left) 1 (center) or 2 (right)

"TagInfo"

arg 3 is text (1 to 39 bytes)

"FontName"

arg 3 is text (1 to 59 bytes)

"Text"

arg 3 is text (1 to 1998 bytes)

 

 

Milestones Professional 2019 Automation Methods and Properties.  © Copyright 2018, KIDASA Software, Inc. All rights reserved.