Textbox

Textbox Control to add and update Text Box

Slide slide = powerPoint.GetSlideByIndex(0);
shapes3[0].ReplaceTextBox(slide, new TextBox(new G.TextBoxSetting()
	{
		textBlocks = new List<G.TextBlock>(){
			new(){
				text = "Move Slide To ",
				fontFamily = "Bernard MT Condensed"
			},
			new(){
				text = "Prev",
				fontSize = 25,
				isBold = true,
				textColor = "AAAAAA",
				hyperlinkProperties = new(){
					hyperlinkPropertyType = G.HyperlinkPropertyType.PREVIOUS_SLIDE,
				}
			}
		}.ToArray()
	}));

TextBoxSetting Options

PropertyTypeDetails

x

uint

Textbox Top Left X

y

uint

Textbox Top Left y

height

uint

Texbox Total Height

width

uint

Texbox Total Width

horizontalAlignment

HorizontalAlignmentValues?

textBlocks

Text box content as parts to have different style setting

shapeBackground

string?

Entire share background color

TextBlock Options

fontFamily

string

This section font family

fontSize

int

This section font size

isBold

bool

This section font family

isItalic

bool

This section font italic

isUnderline

bool

This section font underline

text

string

This section text value

textBackground

string

This section text hightlight color

textColor

string

This section text color

hyperlinkProperties

Hyperlink properties for each text block

Last updated