SharpLeaf Reference > PageLayout Class > Contains Method

PageLayout.Contains Method

Check if the given PageElement is present in the PageLayout.

public bool Contains(
    PageElement item
);
item
Element to check.
return value
Whether element was found or not.

Example

   if ((!page.Contains(footer))) {
     page.Add(footer);
   }

See also ...

PageLayout.Members


Send comments on this topic
© Dyalog Ltd 2021