Skip to content

API reference / Common / Engine types / SlideCommentPlace

Type Alias: SlideCommentPlace ​

ts
type SlideCommentPlace = 
  | {
  slide: {
     position?: ShapePoint;
  };
}
  | {
  shape: {
     shape: ShapeNodeId;
     position?: ShapePoint;
  };
}
  | {
  text: {
     shape: ShapeNodeId;
     range: {
        start: TextStoryOffset;
        end: TextStoryOffset;
     };
  };
};

Where a new thread stands on a slide: a [SlideCommentAnchor] PowerPoint writes for a comment it makes there — the slide or a shape on it, each with the point its marker stands at, or text in a shape, the range its marks bracket.