'Deklaration
Public Sub GetFromParent()
public void GetFromParent()
public: void GetFromParent();
'Deklaration
Public Sub GetFromParent()
public void GetFromParent()
public: void GetFromParent();
private void LL_DefinePrintOptions(object sender, EventArgs e) { // Create new DOM project of type LlProject.List ProjectList proj = new ProjectList(LL); // No proj.Open() is required. Instead the project of the component is used proj.GetFromParent(); // Get Text object "Headline" ObjectText text = (ObjectText)proj.Objects["Headline"]; // Create new paragraph Paragraph paragraph = text.Paragraphs.AddNew(); paragraph.Font.SetFont(new Font("Courier New", 12)); paragraph.Contents = "'Added text'"; }
Plattformen: Windows 10 (Version 21H2 - 22H2), Windows 11 (21H2 - 23H2), Windows Server 2016 - 2022