> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getrenderproperty

> يعيد نتيجة فهرسة الوسيط الأول باستخدام property key المعطى. بالنسبة إلى Drawing object، يستخدم نفس Drawing property lookup مثل object[property]، لذلك ترجع unknown properties و destroyed Drawing objects القيمة nil. يسجل the Drawing API هذه API فقط عندما تكون the required rendering environment is active true؛ عندما يكون هذا الفحص false، يرجع initializer قبل إنشاء هذه globals.

<div className="real-function-page">
  ```lua theme={null}
  getrenderproperty(object: any, property: any): any
  ```

  ## الوسائط

  <ParamField path={"object"} type={"any"} required>
    القيمة المراد فهرستها. مع Drawing object، يتم استخدام RealDrawingObject \_\_index handler.
  </ParamField>

  <ParamField path={"property"} type={"any"} required>
    property key المستخدم للفهرسة. خصائص Drawing object تعتمد على strings.
  </ParamField>

  ## القيم الراجعة

  <ResponseField name={"propertyValue"} type={"any"}>
    القيمة المعادة من فهرسة object باستخدام property، أو nil عندما لا يملك Drawing \_\_index handler قيمة لتلك property.
  </ResponseField>

  ## مثال

  Read a Drawing property like direct indexing.

  ```lua theme={null}
  local line = Drawing.new("Line")
  line.Thickness = 3

  print(getrenderproperty(line, "Thickness"))
  print(getrenderproperty(line, "MissingProperty"))
  ```
</div>
