IModernComment
Contenido
[
Ocultar
]Interfaz IModernComment
Representa un comentario en una diapositiva.
public interface IModernComment : IComment
Propiedades
Nombre | Descripción |
---|---|
AsIComment { get; } | Permite obtener la interfaz base IComment. Solo lectura IComment . |
Shape { get; } | Devuelve una forma asociada con el comentario. Solo lectura IShape . |
Status { get; set; } | Devuelve o establece el estado del comentario. Lectura/escritura ModernCommentStatus . |
TextSelectionLength { get; set; } | Devuelve o establece la longitud de la selección de texto en el marco de texto si el comentario está asociado con AutoShape. Lectura/escritura Int32. |
TextSelectionStart { get; set; } | Devuelve o establece la posición inicial de la selección de texto en el marco de texto si el comentario está asociado con AutoShape. Lectura/escritura Int32. |
Ejemplos
[C#]
using (Presentation pres = new Presentation())
{
ICommentAuthor newAuthor = pres.CommentAuthors.AddAuthor("Some Author", "SA");
IModernComment modernComment = newAuthor.Comments.AddModernComment("This is modern comment", pres.Slides[0], null, new PointF(100, 100), DateTime.Now);
pres.Save(outPptxFileName, SaveFormat.Pptx);
}
Véase También
- interfaz IComment
- espacio de nombres Aspose.Slides
- ensamblaje Aspose.Slides