Variable: createAspectRatio_2
const createAspectRatio_2: (value: string) => AspectRatio_2 & {
all: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => AspectRatio_2[];
descendants: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => AspectRatio_2[];
elementName: string;
from: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) =>
| AspectRatio_2
| undefined;
is: (element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => element is AspectRatio_2;
namespaceURI: string;
} & {
read(element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}): string | undefined;
};
Create/read the XML AspectRatio element. Proportional relationship between the width and the height of the view (w/h). Named children follow XSD order and occurrence constraints.
Type Declaration
all
all: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => AspectRatio_2[];
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
descendants
descendants: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => AspectRatio_2[];
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
elementName
elementName: string = definition.name;
from
from: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) =>
| AspectRatio_2
| undefined;
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
| AspectRatio_2
| undefined
is
is: (element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => element is AspectRatio_2;
Parameters
element?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
element is AspectRatio_2
namespaceURI
namespaceURI: string = definition.namespaceURI;
read()
read(element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}): string | undefined;
Parameters
element?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
string | undefined