Skip to content

Commit

Permalink
remove Samples project
Browse files Browse the repository at this point in the history
  • Loading branch information
ashahabov committed Sep 4, 2022
1 parent d9d6fd0 commit fa24381
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 85 deletions.
6 changes: 0 additions & 6 deletions samples/ShapeCrawler.Samples.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShapeCrawler.Samples", "ShapeCrawler.Samples\ShapeCrawler.Samples.csproj", "{7104AF19-BBB0-4E4D-B0DF-BB2503290031}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShapeCrawler", "..\ShapeCrawler\ShapeCrawler.csproj", "{A1DA946A-F3D2-48E1-8088-228671761562}"
EndProject
Global
Expand All @@ -10,10 +8,6 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7104AF19-BBB0-4E4D-B0DF-BB2503290031}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7104AF19-BBB0-4E4D-B0DF-BB2503290031}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7104AF19-BBB0-4E4D-B0DF-BB2503290031}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7104AF19-BBB0-4E4D-B0DF-BB2503290031}.Release|Any CPU.Build.0 = Release|Any CPU
{A1DA946A-F3D2-48E1-8088-228671761562}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A1DA946A-F3D2-48E1-8088-228671761562}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A1DA946A-F3D2-48E1-8088-228671761562}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
11 changes: 0 additions & 11 deletions samples/ShapeCrawler.Samples/AudioSample.cs

This file was deleted.

12 changes: 0 additions & 12 deletions samples/ShapeCrawler.Samples/ChartSample.cs

This file was deleted.

13 changes: 0 additions & 13 deletions samples/ShapeCrawler.Samples/CopySlideSample.cs

This file was deleted.

16 changes: 0 additions & 16 deletions samples/ShapeCrawler.Samples/PictureSample.cs

This file was deleted.

13 changes: 0 additions & 13 deletions samples/ShapeCrawler.Samples/SlideSample.cs

This file was deleted.

14 changes: 0 additions & 14 deletions samples/ShapeCrawler.Samples/TextSample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,5 @@ namespace TextExample;

internal class TextSample
{
internal void ReadAndUpdateAutoShape()
{
using var presentation = SCPresentation.Open(@"test.pptx", true);
var autoShape = presentation.Slides[0].Shapes.GetByName<IAutoShape>("TextBox 1");
var paragraph = autoShape.TextBox.Paragraphs[0];

// Read alignment
var alignment = paragraph.Alignment;

// Update alignment
paragraph.Alignment = TextAlignment.Center;

// Add/Update Hyperlink
paragraph.Portions[0].Hyperlink = "https://github.com/ShapeCrawler/ShapeCrawler";
}
}

0 comments on commit fa24381

Please sign in to comment.