Click or drag to resize

APIgetSectionImage Method

Get section plot into an array of Bytes of Png image
REST path: /op/sectioncalc/imageB/[sectionID]/[titleX]/[titleY]/[title]/[quoteUnits]/[quoteFormat]/[showAxes]/[showOrigin]/[transparent]/[selectedBar]
REST verb: GET

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public byte[] getSectionImage(
	int sectionID,
	string titleX = "",
	string titleY = "",
	string title = "",
	string quoteUnits = "",
	string quoteFormat = "0.00",
	bool showAxes = true,
	int showOrigin = 0,
	bool transparent = false,
	int selectedBar = 0
)

Parameters

sectionID  Int32
ID of the section
titleX  String  (Optional)
Optional title for X axis
titleY  String  (Optional)
Optional title for Y axis
title  String  (Optional)
Optional graph title
quoteUnits  String  (Optional)
Optional. Units of quotes, if set display quotes
quoteFormat  String  (Optional)
Optional. Numeric format of quotes
showAxes  Boolean  (Optional)
Optional, default true
showOrigin  Int32  (Optional)
Optional, default 0. 1 to show Z and Y arrows, 2 for X and Y arrows
transparent  Boolean  (Optional)
Optional, default false. If true, set transparent background
selectedBar  Int32  (Optional)
Optional, default 0. Index of rebar to highlight, 0 to remove highlightning. Set to -1 to remove bars and show section center

Return Value

Byte
Array of bytes
See Also