FCMPage

Summary of modifications:

  • Added methods for getting and setting the page size by its name according to the page_size library.
  • Added method for checking if the page is blank.

Functions

GetSize

fcmpage.GetSize(self)

View source

Returns the size of the page.

Input Type Description
self FCMPage
Return type Description
string|nil The page size or nil if there is no defined size that matches the dimensions of this page.

SetSize

fcmpage.SetSize(self, size)

View source

[Fluid] Sets the dimensions of this page to match the given size. Page orientation will be preserved.

Input Type Description
self FCMPage
size string A defined page size.

IsBlank

fcmpage.IsBlank(self)

View source

Checks if this is a blank page (ie it contains no systems).

Input Type Description
self FCMPage
Return type Description
boolean true if this is page is blank