The <page-margins> element

Parent element: <page-layout>

The <page-margins> element specifies page margins in tenths either for both even and odd pages, or via separate odd and even page number values.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/page-margins/

Hierarchy

  • PageMargins

Implements

Constructors

Properties

schema: {
    attributes: {
        type: {
            type: "optional";
            value: {
                choices: readonly ["both", "even", "odd"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: typeof LeftMargin;
    }, {
        type: "required";
        value: typeof RightMargin;
    }, {
        type: "required";
        value: typeof TopMargin;
    }, {
        type: "required";
        value: typeof BottomMargin;
    }];
    name: "page-margins";
} = PageMargins.schema

Type declaration

  • Readonly attributes: {
        type: {
            type: "optional";
            value: {
                choices: readonly ["both", "even", "odd"];
                type: "choices";
            };
        };
    }
    • Readonly type: {
          type: "optional";
          value: {
              choices: readonly ["both", "even", "odd"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["both", "even", "odd"];
            type: "choices";
        }
        • Readonly choices: readonly ["both", "even", "odd"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        type: "required";
        value: typeof LeftMargin;
    }, {
        type: "required";
        value: typeof RightMargin;
    }, {
        type: "required";
        value: typeof TopMargin;
    }, {
        type: "required";
        value: typeof BottomMargin;
    }]
  • Readonly name: "page-margins"
schema: {
    attributes: {
        type: {
            type: "optional";
            value: {
                choices: readonly ["both", "even", "odd"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        type: "required";
        value: typeof LeftMargin;
    }, {
        type: "required";
        value: typeof RightMargin;
    }, {
        type: "required";
        value: typeof TopMargin;
    }, {
        type: "required";
        value: typeof BottomMargin;
    }];
    name: "page-margins";
} = ...

Type declaration

  • Readonly attributes: {
        type: {
            type: "optional";
            value: {
                choices: readonly ["both", "even", "odd"];
                type: "choices";
            };
        };
    }
    • Readonly type: {
          type: "optional";
          value: {
              choices: readonly ["both", "even", "odd"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["both", "even", "odd"];
            type: "choices";
        }
        • Readonly choices: readonly ["both", "even", "odd"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        type: "required";
        value: typeof LeftMargin;
    }, {
        type: "required";
        value: typeof RightMargin;
    }, {
        type: "required";
        value: typeof TopMargin;
    }, {
        type: "required";
        value: typeof BottomMargin;
    }]
  • Readonly name: "page-margins"

Methods

Generated using TypeDoc