Hi,
- Resource Sheet
- Resource Usage
- Task Sheet
- Task Usage
Hi,
Hi George,
Thank you for writing to Aspose Support team.
You can use PresentationFormat enumeration to render all these different views in a project. Please see below sample code to render TaskSheet, TaskUsage, ResourceSheet and ResourceUsage views to JPEG images:
Project project1 = new Project("Project1.mpp");
// Define the SaveOptions
SaveOptions options = new ImageSaveOptions(SaveFileFormat.JPEG);
// Set the Presentation format to TaskUsage
options.PresentationFormat = PresentationFormat.TaskUsage;
project1.Save("TaskUsageView_out.jpeg", options);
// Set the Presentation format to TaskSheet
options.PresentationFormat = PresentationFormat.TaskSheet;
project1.Save("TaskSheetView_out.jpeg", options);
// Set the Presentation format to ResourceSheet
options.PresentationFormat = PresentationFormat.ResourceSheet;
project1.Save("ResourceSheetView_out.jpeg", options);
// Set the Presentation format to ResourceUsage
options.PresentationFormat = PresentationFormat.ResourceUsage;
project1.Save("ResourceUsageView_out.jpeg", options);
Please try the above at your end and let us know your feedback.
<!–[if gte mso 9]>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val=“Cambria Math”/>
<m:brkBin m:val=“before”/>
<m:brkBinSub m:val="–"/>
<m:smallFrac m:val=“off”/>
<m:dispDef/>
<m:lMargin m:val=“0”/>
<m:rMargin m:val=“0”/>
<m:defJc m:val=“centerGroup”/>
<m:wrapIndent m:val=“1440”/>
<m:intLim m:val=“subSup”/>
<m:naryLim m:val=“undOvr”/>
</m:mathPr></w:WordDocument>
<![endif]–><!–[if gte mso 10]>
<![endif]–>