Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / PERCENT_SCALE

Variable: PERCENT_SCALE

const PERCENT_SCALE: 100000 = 100000

Defined in: src/units.ts:23

DrawingML fixed-point percentage scale. ST_Percentage / ST_PositiveFixedPercentage and related types (<a:alpha>, <a:spcPct>, shape adjustment guides, <p:tav tm>, …) encode 100% as the integer 100000. Multiply a 0-1 fraction by this to get the OOXML value.