Appearance
@shbernal/pptxgenjs / index / PresSlideInternal
Interface: PresSlideInternal
Defined in: core-interfaces.ts:2985
Extends
Properties
_bkgdImgRid?
optional_bkgdImgRid?:number
Defined in: core-interfaces.ts:2898
Inherited from
_margin?
optional_margin?:Margin
Defined in: core-interfaces.ts:2899
Inherited from
_name?
optional_name?:string
Defined in: core-interfaces.ts:2900
Inherited from
_presLayout
_presLayout:
PresLayout
Defined in: core-interfaces.ts:2901
Inherited from
_rels
_rels:
ISlideRel[]
Defined in: core-interfaces.ts:2902
Inherited from
_relsChart
_relsChart:
ISlideRelChart[]
Defined in: core-interfaces.ts:2903
Inherited from
_relsMedia
_relsMedia:
ISlideRelMedia[]
Defined in: core-interfaces.ts:2904
Inherited from
_relsNotes?
optional_relsNotes?:ISlideRel[]
Defined in: core-interfaces.ts:2905
Inherited from
_rId
_rId:
number
Defined in: core-interfaces.ts:2986
_slideId
_slideId:
number
Defined in: core-interfaces.ts:2988
_slideLayout
_slideLayout:
SlideLayoutInternal
Defined in: core-interfaces.ts:2987
_slideNum
_slideNum:
number
Defined in: core-interfaces.ts:2906
Inherited from
_slideNumberProps?
optional_slideNumberProps?:SlideNumberProps
Defined in: core-interfaces.ts:2907
Inherited from
SlideBaseProps._slideNumberProps
_slideObjects
_slideObjects:
ISlideObject[]
Defined in: core-interfaces.ts:2908
Inherited from
addConnector
addConnector: (
options) =>PresSlide
Defined in: core-interfaces.ts:2934
Parameters
options
Returns
Inherited from
addImage
addImage: (
options) =>PresSlide
Defined in: core-interfaces.ts:2935
Parameters
options
Returns
Inherited from
addMedia
addMedia: (
options) =>PresSlide
Defined in: core-interfaces.ts:2936
Parameters
options
Returns
Inherited from
addNotes
addNotes: (
notes) =>PresSlide
Defined in: core-interfaces.ts:2937
Parameters
notes
string | NotesProps | NotesProps[]
Returns
Inherited from
addShape
addShape: (
shapeName,options?) =>PresSlide
Defined in: core-interfaces.ts:2938
Parameters
shapeName
options?
Returns
Inherited from
addTable
addTable: (
tableRows,options?) =>PresSlide
Defined in: core-interfaces.ts:2939
Parameters
tableRows
TableRow[]
options?
Returns
Inherited from
addText
addText: (
text,options?) =>PresSlide
Defined in: core-interfaces.ts:2940
Parameters
text
string | number | TextProps[]
options?
Returns
Inherited from
background?
optionalbackground?:BackgroundProps
Defined in: core-interfaces.ts:2910
Background color or image (color | path | data)
Examples
ts
{ color: 'FF3399' } - hex colorts
{ color: 'FF3399', transparency:50 } - hex color with 50% transparencyts
{ path: 'https://onedrives.com/myimg.png` } - retrieve image via URL
* @example { path: '/home/gitbrent/images/myimg.png` } - retrieve image via local path
* @example { data: 'image/png;base64,iVtDaDrF[...]=' } - base64 string
* @since v3.3.0Inherited from
bkgd?
optionalbkgd?:string|BackgroundProps
Defined in: core-interfaces.ts:2914
Deprecated
v3.3.0 - use background
Inherited from
color?
optionalcolor?:string
Defined in: core-interfaces.ts:2974
Default text color (hex format)
Example
ts
'FF3399'Default
ts
'000000' (DEF_FONT_COLOR)Inherited from
height?
readonlyoptionalheight?:number
Defined in: core-interfaces.ts:2953
Slide height in inches, resolved from the active presentation layout.
Inherited from
hidden?
optionalhidden?:boolean
Defined in: core-interfaces.ts:2979
Whether slide is hidden
Default
ts
falseInherited from
newAutoPagedSlides?
readonlyoptionalnewAutoPagedSlides?:PresSlide[]
Defined in: core-interfaces.ts:2942
Inherited from
slideNumber?
optionalslideNumber?:SlideNumberProps
Defined in: core-interfaces.ts:2983
Slide number options
Inherited from
width?
readonlyoptionalwidth?:number
Defined in: core-interfaces.ts:2949
Slide width in inches, resolved from the active presentation layout. Use for coordinate math instead of hard-coding layout dimensions.
Example
ts
slide.addText('Centered', { x: 0, w: slide.width, align: 'center' })Inherited from
Methods
addChart()
Call Signature
addChart(
type,data,options?):PresSlide
Defined in: core-interfaces.ts:2932
Parameters
type
data
options?
Returns
Inherited from
Call Signature
addChart(
type,options?):PresSlide
Defined in: core-interfaces.ts:2933