Skip to content

Slide.AddTextShapes contains hard coded TextAlignment.Center #36

@hillsydev

Description

@hillsydev

When creating a new presentation slide shape, setting the alignment to something other than center does not work as it is overridden with a hardcoded TextAlignment.Center value.

See Openize.Slides.Slide.AddTextShapes:

textShape.Facade = _SlideFacade.AddTextShape(textShape.Text, textShape.FontSize, TextAlignment.Center, Utility.PixelsToEmu(textShape.X), Utility.PixelsToEmu(textShape.Y), Utility.PixelsToEmu(textShape.Width), Utility.PixelsToEmu(textShape.Height), textShape.FontFamily, textShape.TextColor, textShape.BackgroundColor);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions