Back to Devexpress

SlideLayoutCollection.GetOrCreate(SlideLayoutType) Method

officefileapi-devexpress-dot-docs-dot-presentation-dot-slidelayoutcollection-dot-getorcreate-x28-devexpress-dot-docs-dot-presentation-dot-slidelayouttype-x29.md

latest1.5 KB
Original Source

SlideLayoutCollection.GetOrCreate(SlideLayoutType) Method

Returns a slide layout with the specified type. If a slide layout with the specified type does not exist, it is created.

Namespace : DevExpress.Docs.Presentation

Assembly : DevExpress.Docs.Presentation.v25.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public SlideLayout GetOrCreate(
    SlideLayoutType type
)
vb
Public Function GetOrCreate(
    type As SlideLayoutType
) As SlideLayout

Parameters

NameTypeDescription
typeSlideLayoutType

The slide layout type.

|

Returns

TypeDescription
SlideLayout

A slide layout with the specified type.

|

See Also

SlideLayoutCollection Class

SlideLayoutCollection Members

DevExpress.Docs.Presentation Namespace