GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.Rendering.IO Namespace > FileStreamProvider Class : CreatePrimaryStream Method |
'Declaration Public Overrides Function CreatePrimaryStream( _ ByVal mimeType As System.String, _ ByVal fileExtension As System.String _ ) As StreamInfo
public override StreamInfo CreatePrimaryStream( System.string mimeType, System.string fileExtension )
Exception | Description |
---|---|
System.InvalidOperationException | Thrown if the primary stream has already been created. |
System.InvalidOperationException | Thrown if the file extension is not specified. |